package com.admin.education.dataTransferObject.answer;

import lombok.Data;

@Data
public class AnswerTransfer  implements Comparable{
    private String answerDescription;
    private String alias;
    private  int sort;

    @Override
    public int compareTo(Object o) {
        AnswerTransfer answerTransfer = (AnswerTransfer)o;
        if(null!=answerTransfer){
            return  this.getSort()-answerTransfer.getSort();
        }
        return 0;
    }
}
